-
Notifications
You must be signed in to change notification settings - Fork 273
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(ui5-link): introduce interactiveAreaSize
property
#10762
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
As far as I've checked, the explanatory texts are absolutely identical to the corresponding ones in [FEATURE] sap.m.Link: Reactive area size API introduced. The commit header description follows correctly the convention.
Officially, this feature seems to be called Target Size rather than Reactive Area Size: In our internal Wiki it's also called Target Size, but there are a few mentions of "reactive area size". Additionally, the values I would personally understand more naturally something like:
Let's discuss |
We settled on |
Regarding the second note: It is recommended to use the |
Hello, please consider a tentative suggestion for the second's note text, This is based on the Vladi's suggestion: It is recommended to use the Setting the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
interactiveAreaSize
property
…ui5-settings * 'main' of https://github.com/SAP/ui5-webcomponents: refactor(ui5-multi-combobox): switch to .tsx (#10807) refactor(ListItem): delete unused code (#10796) chore(deps-dev): bump esbuild from 0.19.9 to 0.25.0 (#10816) chore(deps-dev): bump vitest from 3.0.2 to 3.0.5 (#10785) test: add command for single cy test run (#10813) docs: fix TimelineGrowingMode enum docs (#10815) fix(ui5-side-navigation): remove inappropriate exclamation mark usage (#10769) feat(ui5-link): introduce reactive area size property (#10762) fix(ui5-side-navigation): "Space" key triggers links (#10767) chore(ui5-timeline): importing a timeline group item in the samples (#10793) chore: add ElementInternals shim (#10782) chore: fix MultiInput test (#10791) Translation Delivery (#10772) chore(ui5-select): remove unused css vars (#10789) chore: warn when scoping suffix is set too late (#10781) fix(ui5-button): remove tap highlight on safari (#10786) feat(ui5-table): action header cell is added (#10698) docs: fix List sample chore(release): publish v2.8.0-rc.0 [ci skip]
🎉 This PR is included in version v2.8.0-rc.1 🎉 The release is available on v2.8.0-rc.1 Your semantic-release bot 📦🚀 |
A new enumeration property called "interactiveAreaSize" is now added.
It is designed to make links easier to activate and helps meet the WCAG 2.2 Target Size requirement.
The property is applicable only for the SAP Horizon themes.
The interactive area should be sufficiently large to help users avoid accidentally selecting (clicking or tapping) on unintended UI elements.
There are two possible values for this property:
Normal
andLarge
:Normal
and it implies no change in the visualization and behavior of the interactive elements.Large
. In this case the height of the interactive target area is increased. This option should be used when the interactive element is displayed as an overlay on top of other interactive parts of the page.